package com.virtium.vpc.dao;

import java.util.List;
import com.virtium.vpc.hibernate.model.VpcDensity;

/**
 * A data access object (DAO) providing persistence and search support for
 * VpcDensity entities. Transaction control of the save(), update() and delete()
 * operations can directly support Spring container-managed transactions or they
 * can be augmented to handle user-managed Spring transactions. Each of these
 * methods provides additional information for how to configure it for the
 * desired type of transaction control.
 * 
 * @see aa.VpcDensity
 * @author NguyenTuanAnh
 */

public interface VpcDensityDAO extends GenericDAO {
	public void save(VpcDensity transientInstance);

	public void delete(VpcDensity persistentInstance);

	public VpcDensity findById(java.lang.Integer id);

	public List findByExample(VpcDensity instance);

	public List findByProperty(String propertyName, Object value);

	public List findByText(Object text);

	public List findAll();

	public VpcDensity merge(VpcDensity detachedInstance);

	public void attachDirty(VpcDensity instance);

	public void attachClean(VpcDensity instance);
}